package cn.itcast.pattern.proxy.jdk_proxy3;

public class OperatorImpl implements Operator{
    @Override
    public int add(int x, int y) {
        System.out.println("两数相加");
        return 0;
    }

    @Override
    public int sub(int x, int y) {
        System.out.println("两数相减");
        return 0;
    }
}
